package com.sevattal.service.leaves.service;

import com.sevattal.service.leaves.entity.Warehouse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sevattal.service.leaves.entity.vo.WarehouseVo;

import java.util.List;

/**
 * <p>
 * 仓库表 服务类
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
public interface WarehouseService extends IService<Warehouse> {

    boolean createWarehouse(Warehouse warehouse);

    boolean updateWarehouse(Warehouse warehouse);

    boolean deleteWarehouse(String id);

    List<WarehouseVo> getWarehouseList(WarehouseVo warehouseVo);

    WarehouseVo getWarehouse(String id);
}
